import React, { useEffect } from "react";
import { Router } from "./router";
import "./App.css";
import WhithRouter from "./hoc";
// import { useDispatch } from 'react-redux';
// import { getBanner } from './store/sliceReducer/CartSliceReducer'
function App() {
  // const use=useDispatch()
  //   useEffect(()=>{
  //  use(getBanner() as any)

  //   })
  return <Router />;
}

export default App;
